﻿using System;
using System.Collections.Generic;

namespace Dto
{
    public class TopicDetailsDto
    {
        /// <summary>
        /// 主键ID
        /// </summary>
        public int TdId { get; set; }

        /// <summary>
        /// 话题主表ID
        /// </summary>
        public int TdTopicId { get; set; }

        /// <summary>
        /// 内容
        /// </summary>
        public string TdContent { get; set; }

        /// <summary>
        /// 发表时间
        /// </summary>
        public DateTime TdTime { get; set; }

        /// <summary>
        /// 发表用户
        /// </summary>
        public int TdUserId { get; set; }

        /// <summary>
        /// 父节点ID
        /// </summary>
        public int TdParentId { get; set; }

        /// <summary>
        /// 发表用户详细内容
        /// </summary>
        public UsersDto userDto { get; set; }

        public List<TopicDetailsDto> ChildDtos { get; set; }
    }
}